﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using _2shitong.Models;

namespace _2shitong.Controllers
{
    public class HomeController : Controller
    {
        //
        // GET: /Home/

        public ActionResult Index()
        {
            shitongDB DB = new shitongDB();
            var Meses = DB.Messages.Where(p => p.MsgID !=0).ToList();
            return View(Meses);
        }

    }
}
